import { Column, Entity, PrimaryGeneratedColumn, BaseEntity } from 'typeorm'

// 指定表
@Entity('user')
export class UserEntity extends BaseEntity {
    @PrimaryGeneratedColumn()
    id!: number

    @Column()
    username!: string

    @Column()
    password!: string
}
